<template functional>
  <div>
    <h1>我是一个函数式组件{{num}}</h1>
    <h2>我接受的props是{{props.count}}</h2>
  </div>
</template>
<script>
export default {
  name: 'One',
  props:["count"],
  data() {
    return {
     num:1
    };
  },
 
  mounted(){
    console.log("One");
  }
}
</script>

<style scoped>

</style>
